#include "priority_queue.h"
#include <stdio.h>
#include <stdlib.h>

int 
main(void)
{
	int             i, data, data1;
	queue           p;

	p = create();
	printf("Priority queue created\n");

	push(p, 24);
	push(p, 1);
	front(p, &data);
	back(p, &data1);

	printf("Front element: %d\nBack element: %d\n", data, data1);

	pop(p);

	printf("Poped one element from the queue\n");

	front(p, &data);

	printf("Front element: %d\n", data);

	clear(p);

	printf("Queue cleared\n");

	delete(p);

	printf("Queue deleted\n");

	return 0;
}
